<!-- BEGIN message -->
<div id="message" class="updated fade"><p>Options Updated</p></div>
<!-- END message -->
<div class="wrap"> 
    <h2>LightPress Options</h2>
    <form method="post" action="admin.php?page=lightpress/wp-plugin/options.php">
        <input type="hidden" name="lp_opt_basedir" value="{basedir}" />
        <input type="hidden" name="lp_opt_testing_dir" value="{testing_dir}" />
        <input type="hidden" name="lp_opt_install_type" value="{install_type}" />
        <input type="hidden" name="lp_opt_url" value="{url}" />
        <input type="hidden" name="lp_opt_mail_on_comment" value="{mail_on_comment}" />
        <fieldset class="options">
            <legend>Blog Options</legend>
            <table class="optiontable">
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_lang">Language:</label></th> 
                    <td>
                        <input id="lp_opt_lang" type="text" name="lp_opt_lang" value="{lang}" size="15" />
                        <br />
                        <small>sets the language for messages, dates, and themes</small>
                    </td>
                </tr>
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_copyright_notice">Copyright Notice:</label></th> 
                    <td>
                        <input id="lp_opt_copyright_notice" type="text" name="lp_opt_copyright_notice" value="{copyright_notice}" size="45" />
                        <br />
                        <small>used in atom feeds, optionally used in the theme footer</small>
                    </td>
                </tr>
            </table>
        </fieldset>
            
        <fieldset class="options">
            <legend>Date Formatting Options</legend>
            <table class="optiontable">
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_date_format">Date</label> / <label for="lp_opt_short_date_format">Short Date</label>:</th> 
                    <td>
                        <input id="lp_opt_date_format" type="text" name="lp_opt_date_format" value="{date_format}" size="15" />
                        <input id="lp_opt_short_date_format" type="text" name="lp_opt_short_date_format" value="{short_date_format}" size="15" />
                    </td>
                    <tr valign="top"> 
                        <th scope="row"><label for="lp_opt_time_format">Time</label> / <label for="lp_opt_short_time_format">Short Time:</label></th> 
                        <td>
                            <input id="lp_opt_time_format" type="text" name="lp_opt_time_format" value="{time_format}" size="15" />
                            <input id="lp_opt_short_time_format" type="text" name="lp_opt_short_time_format" value="{short_time_format}" size="15" />
                            <br />
                            <small>(use <a href="http://www.php.net/manual/en/function.strftime.php">PHP's strftime codes</a> to set formats)</small>
                        </td>
                    </tr>
            </table>
        </fieldset>
        <fieldset class="options">
            <legend>Advanced Options</legend>
            <table class="optiontable">
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_shortname">Installation Folder:</label></th> 
                    <td>
                        <input id="lp_opt_basedir" type="text" name="lp_opt_basedir" value="{basedir}" size="45" />
                        <br />
                        <small>remember to update your config.php if you modify this option</small>
                    </td> 
                </tr>
                <tr>
                    <th scope="row"><label for="lp_opt_category_separator">Category Separator:</label></th> 
                    <td>
                        <input id="lp_opt_category_separator" type="text" name="lp_opt_category_separator" value="{category_separator}" size="45" />
                        <br />
                        <small>used by some plugins to render an inline list of category names</small>
                    </td> 
                </tr>
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_shortname">Short Name:</label></th> 
                    <td>
                        <input id="lp_opt_shortname" type="text" name="lp_opt_shortname" value="{shortname}" size="45" />
                    </td> 
                </tr>
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_mail_mailer">Mail Subsystem:</label></th> 
                    <td>
                        <select name="lp_opt_mail_mailer">
                            <option value="0">PHP mail() function</option>
                            <option{lp_opt_mail_mailer_qmail} value="qmail">Qmail</option>
                        </select>
                    </td>
                </tr>
                <!--tr valign="top"> 
                    <th scope="row"><label for="lp_opt_mail_on_comment">Comment Notification:</label></th> 
                    <td>
                        <select name="lp_opt_mail_on_comment">
                            <option value="1">send email notification</option>
                            <option value="0">do not send email notification</option>
                        </select>
                    </td>
                </tr-->
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_comment_spam_kill">Comment Spam:</label></th> 
                    <td>
                        <select name="lp_opt_comment_spam_kill">
                            <option value="0">queue for moderation</option>
                            <option{lp_opt_comment_spam_kill_kill} value="1">kill</option>
                        </select>
                        and
                        <select name="lp_opt_comment_spam_mail">
                            <option value="1">notify by mail</option>
                            <option{lp_opt_comment_spam_mail_ignore} value="0">ignore</option>
                        </select>
                    </td>
                </tr>
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_approx_sql_tstamp">Round Off SQL Timestamps By:</label></th> 
                    <td>
                        <input id="lp_opt_approx_sql_tstamp" type="text" name="lp_opt_approx_sql_tstamp" value="{approx_sql_tstamp}" size="15" />
                        <br />
                        <small>SQL timestamps are rounded off by the number above, so as to use the MySQL query cache; set to '0' to disable</small>
                    </td>
                </tr>
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_allowed_tags">Allowed Tags:</label></th> 
                    <td>
                        <input style="width: 95%" id="lp_opt_allowed_tags" type="text" name="lp_opt_allowed_tags" value="{allowed_tags}" size="45" />
                        <br />
                        <small>allowed tags in comment submissions</small>
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset class="options">
            <legend>Permalink Options</legend>
            <table class="optiontable">
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_post_prefix">Post Permalink:</label></th> 
                    <td>
                        <input id="lp_opt_post_prefix" type="text" name="lp_opt_post_prefix" value="{post_prefix}" size="45" />
                        <br />
                        <small>available words: {post_name} {post_id} {year} {monthnum} {day} {hour} {minute} {second} {category_id} {category_name}</small>
                    </td> 
                </tr>
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_category_prefix">Categories Base:</label></th> 
                    <td>
                        <input id="lp_opt_category_prefix" type="text" name="lp_opt_category_prefix" value="{category_prefix}" size="45" />
                    </td> 
                </tr>
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_archives_prefix">Archives Permalink:</label></th> 
                    <td>
                        <input id="lp_opt_archives_prefix" type="text" name="lp_opt_archives_prefix" value="{archives_prefix}" size="45" />
                        <br />
                        <small>available words: {year} {monthnum} {day} {hour} {minute} {second}</small>
                    </td> 
                </tr>
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_pages_prefix">Pages Base:</label></th> 
                    <td>
                        <input id="lp_opt_pages_prefix" type="text" name="lp_opt_pages_prefix" value="{pages_prefix}" size="45" />
                    </td> 
                </tr>
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_pages_suffix">Pages Suffix:</label></th> 
                    <td>
                        <input id="lp_opt_pages_suffix" type="text" name="lp_opt_pages_suffix" value="{pages_suffix}" size="45" />
                    </td> 
                </tr>
                <tr valign="top"> 
                    <th scope="row"><label for="lp_opt_search_prefix">Search Base:</label></th> 
                    <td>
                        <input id="lp_opt_search_prefix" type="text" name="lp_opt_search_prefix" value="{search_prefix}" size="45" />
                    </td> 
                </tr>
                <tr valign="top">
                    <th scope="row"><label for="lp_opt_author_prefix">Author Base:</label></th> 
                    <td>
                        <input id="lp_opt_author_prefix" type="text" name="lp_opt_author_prefix" value="{author_prefix}" size="45" />
                    </td> 
                </tr>
                <tr valign="top">
                    <th scope="row"><label for="lp_opt_tag_prefix">Tag Base:</label></th> 
                    <td>
                        <input id="lp_opt_tag_prefix" type="text" name="lp_opt_tag_prefix" value="{tag_prefix}" size="45" />
                    </td> 
                </tr>
                <tr valign="top">
                    <th scope="row"><label for="lp_opt_comments_prefix">Paged Comments Base:</label></th> 
                    <td>
                        <input id="lp_opt_comments_prefix" type="text" name="lp_opt_comments_prefix" value="{comments_prefix}" size="45" />
                    </td> 
                </tr>
            </table>
        </fieldset>
        <p class="submit"><input type="submit" name="submit" value="Update Options &raquo;" /></p>
    </form>
</div>
